#ifndef __INHERIT_TEST_H_
#define __INHERIT_TEST_H_
#include <iostream>
using namespace std;
class base_public
{
public:
    base_public(int);
    ~base_public();

public:
    int getval();
    int val;
};
class base_protected
{
protected:
    base_protected(int);
    ~base_protected();

protected:
    int getval();
    int val;
};
class base_private
{
private:
    base_private(int);
    ~base_private();

private:
    int getval();
    int val;
};

/////////////public
class inherit_public : public base_public
{
public:
    inherit_public(int);
    ~inherit_public();

public:
    int getval();
};
class inherit_protected : protected base_public
{
public:
    inherit_protected(int);
    ~inherit_protected();

public:
    int getval();
};
class inherit_private : private base_public
{
public:
   inherit_private(int);
    ~inherit_private();

public:
    int getval();
};
/////////////protec
// class inherit_public : public base_public
// {
// public:
//     inherit_public(int);
//     ~inherit_public();

// public:
//     int getval();
// };
// class inherit_protected : protected base_public
// {
// public:
//     inherit_protected(int);
//     ~inherit_protected();

// public:
//     int getval();
// };
// class inherit_private : private base_public
// {
// public:
//    inherit_private(int);
//     ~inherit_private();

// public:
//     int getval();
// };
#endif
